package com.wenjing.xiaoyun.chat;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {
        "com.wenjing.xiaoyun.common",
        "com.wenjing.xiaoyun.auth",
        "com.wenjing.xiaoyun.chat",
        "com.wenjing.xiaoyun.tools",
})
@EnableKnife4j
@MapperScan({"com.wenjing.xiaoyun.auth.mapper", "com.wenjing.xiaoyun.chat.mapper"})
public class XiaoYunApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaoYunApplication.class, args);
    }

}
